package org.example.design.group02.service.logic;

import org.example.design.group02.model.vo.TreeNodeLink;

import java.util.List;
import java.util.Map;

/**
 * @Classname LogicFilter
 * @Description TODO
 * @Date 2020/11/3 5:30 下午
 * @Created by xiangjd
 */
public interface LogicFilter {
    /**
     * 逻辑决策器
     * @param matterValue 值
     * @param treeNodeLineInfoList 决策节点
     * @return
     */
    Long filter(String matterValue, List<TreeNodeLink> treeNodeLineInfoList);

    /**
     * 获取决策值
     * @param treeId
     * @param userId
     * @param decisionMatter 决策物料
     * @return
     */
    String matterValue(Long treeId, String userId, Map<String, String> decisionMatter);
}
